%%%%%
%%
%% This file sets up the Notebook and GreenNotebook datatypes and
%% creates Notebook and GreenNotebook macros.  These are for in-game
%% and out-of-game notebooks.
%%
%%%%%

\DECLARESUBTYPE{Notebook}{TransElement}
\PRESETS{Notebook}{
  \FD\MYfile	{} %% filename (in \notebooks dir)
  \FS\MYtext	{\getextractenvs{document}{\notebooks/\MYfile}}
  \sd\MYlistmap	{\item\MYname\ (in-game notebook)}
  }

\DECLARESUBTYPE{GreenNotebook}{Element}
\PRESETS{GreenNotebook}{
  \FD\MYfile	{} %% filename (in \notebooks dir)
  \FS\MYtext	{\getextractenvs{document}{\notebooks/\MYfile}}
  \sd\MYlistmap	{\item\MYname\ (out-of-game notebook)}
  }


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\NEW{Notebook}{\nTest}{
%  \s\MYname	{Test Research Notebook}
%  \s\MYfile	{README.tex}
%  }
%
%\NEW{GreenNotebook}{\nGreenTest}{
%  \s\MYname	{Test Out-of-Game Notebook}
%  \s\MYfile	{README-green.tex}
%  }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\NEW{GreenNotebook}{\nMoon}{
  \s\MYname	{Flying to the Moon}
  \s\MYfile	{moon.tex}
 }
 
 \NEW{GreenNotebook}{\nMakeEveryoneASpark}{
  \s\MYname	{Sparkification}
  \s\MYfile	{makeeveryoneaspark.tex}
 }
 
  \NEW{GreenNotebook}{\nKillAllSparks}{
  \s\MYname	{Desparkification}
  \s\MYfile	{killallsparks.tex}
 }
 
 \NEW{GreenNotebook}{\nDestroyCastle}{
  \s\MYname	{Destroy the Symbols of the Oppressors!}
  \s\MYfile	{destroycastle.tex}
 }
 
 \NEW{GreenNotebook}{\nBadJagerCastle}{
  \s\MYname	{Regaining control of your Castle}
  \s\MYfile	{badjagercastle.tex}
 }
 